package com.example.abbitmqtest.service;

import com.example.abbitmqtest.entity.Order;

public interface OrderService {
    // 创建订单
    Order createOrder(Order order);
    
    // 支付订单
    boolean payOrder(String orderNo);
    
    // 取消订单
    boolean cancelOrder(String orderNo);
    
    // 根据订单号查询订单
    Order getOrderByOrderNo(String orderNo);
}